# -*- coding: utf-8 -*-
#require 'nkf'

$db_host = "localhost"
$db_user = "root"
$db_pass = "root"
$db_name = "cms"

#$pass_key = "ec"
#$html_dir = "ec"

$dir = Dir.getwd + "/"
load "class/header_base.rb"

load $class_dir + 'cms/message_jp.rb'
load $class_dir + 'cms/cms.rb'
load $class_dir + 'cms/sites.rb'
load $class_dir + 'cms/items.rb'
load $class_dir + 'cms/categorys.rb'
load $class_dir + 'cms/files.rb'

#$usr = Users.new()

$logfile = $class_dir + "sql.log"

$print_header = true

$debug = true

#print $cgi.header()
